<?php session_start(); ?>
<html>
<head>
	<title> DSSTFST-NCU </title>
	<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
	<script type="text/javascript" src="js/jquery-ui-1.10.3.custom.js"></script>
	<link rel="stylesheet" href="css/smoothness/jquery-ui-1.10.2.custom.min.css">
	<link rel="stylesheet" href="css/textbox&button.css">
	<script type="text/javascript" src="js/teacher.js"></script>
	<table id="table1" border="0">
	<tr><td id="head01" >
	<a href="http://www.northcm.ac.th" target=_blank>
	<img id="logopicture1" src="Picture-project/PNGfile/Picture-University.png" height=130 width= 220 alt="click for go to NCU's webside">
	</td><td id="head01.5" >
	<a href="http://www.science-ncu.com/newsci/" target=_blank>
	<img  id="logopicture2" src="Picture-project/PNGfile/Picture-Major.png" height=100 width= 100 alt="click for go to SCI%TECH's webside">
	</td><td id="head02" width="275">
	<img  id="logopicture3" src="Picture-project/PNGfile/Text-Dataservice.png"  height=75 width= 400>
	</td><td id="head02.5" width="800">
	<font color="white" size="5">WELCOME : 
	<?php if(isset($_SESSION['teacher_username']))
	{	
		echo $_SESSION['teacher_username'];
		}else
		{	
			 header('Location: index.php');
			 exit;
		}    ?>
	</font>
	<img align="right" id="logopicture2" src="Picture-project/PNGfile/Text-Logout.png" onClick="window.location='index.php'" style="cursor:pointer;" height=100 width= 130>
	</td></tr>
	</table><br>
 </head>

 <body background="Picture-project/background.jpg">
	<table id="menubar" border="0">
	<tr><td>
	<font color="white" size=5>FOR USER</font><br>
    <input type="button" value="PROFILE" onClick="tchShowEditprofile('<?php echo $_SESSION['teacher_username'];?>');" >><br>
	<input type="button" value="ADD INFORMATION" onClick="teacherShowInformation();"><br>
	<input type="button" value="MANAGE INFORMATION" onClick="teacherShowMangInformation('<?php echo $_SESSION['teacher_username'];?>');"><br>
	<input type="button" value="MEMBER'S PROFILE" onClick="teacherShowMember();" ><br><br>
	<font color="white" size=5>FACULTY</font><br>
	<input type="button" value="SCI-TECH" onClick="memberShowScitechInformation();"><br>
	<input type="button" value="SOFTWARE" onClick="memberShowSeInformation();"><br>
	<input type="button" value="E-COMMERCE" onClick="memberShowEcomInformation();"><br>
	<input type="button" value="B-COMPUTER" onClick="memberShowBcomInformation();"><br>
	<input type="button" value="IT" onClick="memberShowItInformation();"><br>
	</td></tr>
	</table>
	<table id="teacherInformation">
	</td></tr>
	</table>
 </body>
</html>
